.class Lcom/brixd/niceapp/activity/SplashActivity$1;
.super Ljava/lang/Object;
.source "SplashActivity.java"

# interfaces
.implements Lretrofit/Callback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/SplashActivity;->updateCategoryInfo()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lretrofit/Callback",
        "<",
        "Lorg/json/JSONObject;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/SplashActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/SplashActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/SplashActivity;

    .prologue
    .line 114
    iput-object p1, p0, Lcom/brixd/niceapp/activity/SplashActivity$1;->this$0:Lcom/brixd/niceapp/activity/SplashActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public failure(Lretrofit/RetrofitError;)V
    .registers 3
    .param p1, "error"    # Lretrofit/RetrofitError;

    .prologue
    .line 126
    const-string v0, "listCategory"

    invoke-static {v0, p1}, Lcom/zuiapps/suite/utils/log/LogUtil;->e(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 127
    return-void
.end method

.method public bridge synthetic success(Ljava/lang/Object;Lretrofit/client/Response;)V
    .registers 3

    .prologue
    .line 114
    check-cast p1, Lorg/json/JSONObject;

    invoke-virtual {p0, p1, p2}, Lcom/brixd/niceapp/activity/SplashActivity$1;->success(Lorg/json/JSONObject;Lretrofit/client/Response;)V

    return-void
.end method

.method public success(Lorg/json/JSONObject;Lretrofit/client/Response;)V
    .registers 5
    .param p1, "jsonObject"    # Lorg/json/JSONObject;
    .param p2, "response"    # Lretrofit/client/Response;

    .prologue
    .line 118
    invoke-static {p1}, Lcom/brixd/niceapp/model/CategoryModel;->parseCategoryModels(Lorg/json/JSONObject;)Ljava/util/ArrayList;

    move-result-object v0

    .line 119
    .local v0, "categoryModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/CategoryModel;>;"
    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_f

    .line 120
    iget-object v1, p0, Lcom/brixd/niceapp/activity/SplashActivity$1;->this$0:Lcom/brixd/niceapp/activity/SplashActivity;

    # invokes: Lcom/brixd/niceapp/activity/SplashActivity;->cacheCategoryData(Lorg/json/JSONObject;)V
    invoke-static {v1, p1}, Lcom/brixd/niceapp/activity/SplashActivity;->access$000(Lcom/brixd/niceapp/activity/SplashActivity;Lorg/json/JSONObject;)V

    .line 122
    :cond_f
    return-void
.end method
